package com.Smart.smartscals.Activity;

import com.Smart.smartscals.Utils.Const;
import com.Smart.smartscals.Utils.Tools;

import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.FrameLayout;

public class ActivityStartUsing extends BaseActivity implements OnClickListener {
	private Button btnStarUsing, btnLogIn;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_guide_start);
		initView();
		setListener();
		initParam();

	}

	private void setListener() {
		btnLogIn.setOnClickListener(this);
		btnStarUsing.setOnClickListener(this);

	}

	private void initParam() {
		mContext = this;
		mActivity = this;

	}

	private void initView() {
		btnLogIn = (Button) this.findViewById(R.id.gudite_start_btn_login);
		btnStarUsing = (Button) this
				.findViewById(R.id.gudite_start_btn_startusing);

	}

	
	@Override
	public void onClick(View arg0) {
		switch (arg0.getId()) {
		case R.id.gudite_start_btn_login:
			Tools.startActivity(this, this, com.Smart.smartscals.Activity.ActivityMain.class);

			break;

		case R.id.gudite_start_btn_startusing:// stat useing

			Tools.startActivity(mActivity, mContext,
					com.Smart.smartscals.Activity.ActivityGuide.class);

			break;

		default:
			break;
		}
	}

}
